#include <QString>
#include <iostream>
#include "particleTreeItem.h"

ParticleTreeItem::ParticleTreeItem(QTreeWidgetItem *_parentItem, Particle *_particle) : TreeItem(_parentItem), particle(_particle){
    setExpanded(true);

    QString str = QString::fromUtf8("Partícula ");
    str.append(QString::number(particle->getID()));
    setText(0, str);
}

ParticleTreeItem::~ParticleTreeItem(){
}
